package com.lysj.admin.master.bussiness.admin.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lysj.admin.master.common.spring.mpbase.MyEntity;
import com.lysj.admin.master.common.validation.annotation.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * @author Created by drj on 2019-12-27 11:29
 * @description 服务商
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
@TableName("lysj_admin_service_provider")
@Table(name = "lysj_admin_service_provider")
public class ServiceProvider extends MyEntity {

    @NotBlank(message = "服务商名称不能为空")
    private String name;//公司名称
    @NotBlank(message = "公司名称不能为空")
    private String companyName;//公司名称
    @NotBlank(message = "工商注册号不能为空")
    private String registrationNumber;//工商注册号
    @NotBlank(message = "税务登记号不能为空")
    private String taxNumber;//税务登记号
    @NotBlank(message = "组织机构代码不能为空")
    private String organizationCode;//组织机构代码
    @NotBlank(message = "开户银行不能为空")
    private String bankName;//开户银行
    @NotBlank(message = "账户名称不能为空")
    private String accountName;//账户名称
    @NotBlank(message = "银行账号不能为空")
    private String bankAccount;//银行账号
    @NotBlank(message = "地址不能为空")
    private String address;//
    @NotBlank(message = "联系方式不能为空")
    private String phone;//联系方式

}
